<template>
    <view class="columnbox wdh-100 content">
        <view class="columnbox one-info">
            <view class="rowbox wdh-100 spb">
                <view class="rowbox info-title">
                    <image src="/static/img/car.png" mode="widthFix" class="info-icon"></image>
                    添加爱车
                </view>
                <view class="info-date">2024年5月11日11:06:58</view>
            </view>
            <view class="info-bottom-box wdh-100 rowbox spb">
                <view class="info-date">快捷洗车 快速出入停车场 </view>
                <view class="small-btn" @click="bindcar">绑定车辆</view>
            </view>
        </view>
        <view class="columnbox one-info">
            <view class="rowbox wdh-100 spb">
                <view class="rowbox info-title">
                    <image src="/static/img/car.png" mode="widthFix" class="info-icon"></image>
                    实名认证
                </view>
                <view class="info-date">2024年5月11日11:06:58</view>
            </view>
            <view class="info-bottom-box wdh-100 rowbox spb">
                <view class="info-date">快速提现 找回账号</view>
                <view class="small-btn" @click="shiming">前往认证</view>
            </view>
        </view>
        <view class="columnbox one-info">
            <view class="rowbox wdh-100 spb">
                <view class="rowbox info-title">
                    <image src="/static/img/car.png" mode="widthFix" class="info-icon"></image>
                    挪车码
                </view>
                <view class="info-date">2024年5月11日11:06:58</view>
            </view>
            <view class="info-bottom-box wdh-100 rowbox spb">
                <view class="info-date">隐私号码 方便挪车</view>
                <view class="small-btn">前往领取</view>
            </view>
        </view>
        <view class="columnbox one-info">
            <view class="rowbox wdh-100 spb">
                <view class="rowbox info-title">
                    <image src="/static/img/car.png" mode="widthFix" class="info-icon"></image>
                    预约订单
                </view>
                <view class="info-date">2024年5月11日11:06:58</view>
            </view>
            <view class="info-bottom-box wdh-100 rowbox spb" @click="watchorder">
                <view class="info-date">完成订单获得积分</view>
                <view class="small-btn">查看订单</view>
            </view>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {

            };
        },
		methods:{
			// 实名认证
			shiming(){
				
			},
			// 绑定车辆
			bindcar(){
				this.$tab.navigateTo('/packageA/carManage/add')
			},
			// 查看订单
			watchorder(){
				if(!uni.getStorageSync('isLogin')){
					this.$noLog();
					return
				}else(
					this.$tab.navigateTo('/packageB/orderwriteoff/orderwriteoff')
				)
				
			}
		}
    }
</script>

<style lang="scss" scoped>
    .content {
        background: #f7f8fa;
        min-height: 100vh;
        justify-content: flex-start;
        font-family: PingFang SC;
        width: 100%;
        overflow: hidden;
    }

    .one-info {
        width: 710rpx;
        background: #fff;
        border-radius: 20rpx;
        padding: 32rpx 32rpx;
        margin: 10rpx 0;
    }

    .info-icon {
        width: 40rpx;
        height: 40rpx;
        margin-right: 10rpx;
    }

    .info-title {
        font-size: 36rpx;
    }

    .info-date {
        font-size: 28rpx;
        color: #6C6C6C;
    }

    .info-bottom-box {
        margin-top: 20rpx;
    }
</style>